
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca válida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">j.n.ConnectException: finishConnect(..) failed: Connection refused<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">9590</td>
		    	<td class="value error-col-3 total ko">100 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-va-lida-d7f0d'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['0', '1', '2', '3', '4', '6', '8', '11', '13'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  77.0,22.58,0.23,0.08,0.03,0.02,0.01,0.01,0.01
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692814398,null],[1692814399,null],[1692814400,null],[1692814401,null],[1692814402,null],[1692814403,null],[1692814404,null],[1692814405,null],[1692814406,null],[1692814407,null],[1692814408,null],[1692814409,null],[1692814410,null],[1692814411,null],[1692814412,null],[1692814413,null],[1692814414,null],[1692814415,null],[1692814416,null],[1692814417,null],[1692814418,null],[1692814419,null],[1692814420,null],[1692814421,null],[1692814422,null],[1692814423,null],[1692814424,null],[1692814425,null],[1692814426,null],[1692814427,null],[1692814428,null],[1692814429,null],[1692814430,null],[1692814431,null],[1692814432,null],[1692814433,null],[1692814434,null],[1692814435,null],[1692814436,null],[1692814437,null],[1692814438,null],[1692814439,null],[1692814440,null],[1692814441,null],[1692814442,null],[1692814443,null],[1692814444,null],[1692814445,null],[1692814446,null],[1692814447,null],[1692814448,null],[1692814449,null],[1692814450,null],[1692814451,null],[1692814452,null],[1692814453,null],[1692814454,null],[1692814455,null],[1692814456,null],[1692814457,null],[1692814458,null],[1692814459,null],[1692814460,null],[1692814461,null],[1692814462,null],[1692814463,null],[1692814464,null],[1692814465,null],[1692814466,null],[1692814467,null],[1692814468,null],[1692814469,null],[1692814470,null],[1692814471,null],[1692814472,null],[1692814473,null],[1692814474,null],[1692814475,null],[1692814476,null],[1692814477,null],[1692814478,null],[1692814479,null],[1692814480,null],[1692814481,null],[1692814482,null],[1692814483,null],[1692814484,null],[1692814485,null],[1692814486,null],[1692814487,null],[1692814488,null],[1692814489,null],[1692814490,null],[1692814491,null],[1692814492,null],[1692814493,null],[1692814494,null],[1692814495,null],[1692814496,null],[1692814497,null],[1692814498,null],[1692814499,null],[1692814500,null],[1692814501,null],[1692814502,null],[1692814503,null],[1692814504,null],[1692814505,null],[1692814506,null],[1692814507,null],[1692814508,null],[1692814509,null],[1692814510,null],[1692814511,null],[1692814512,null],[1692814513,null],[1692814514,null],[1692814515,null],[1692814516,null],[1692814517,null],[1692814518,null],[1692814519,null],[1692814520,null],[1692814521,null],[1692814522,null],[1692814523,null],[1692814524,null],[1692814525,null],[1692814526,null],[1692814527,null],[1692814528,null],[1692814529,null],[1692814530,null],[1692814531,null],[1692814532,null],[1692814533,null],[1692814534,null],[1692814535,null],[1692814536,null],[1692814537,null],[1692814538,null],[1692814539,null],[1692814540,null],[1692814541,null],[1692814542,null],[1692814543,null],[1692814544,null],[1692814545,null],[1692814546,null],[1692814547,null],[1692814548,null],[1692814549,null],[1692814550,null],[1692814551,null],[1692814552,null],[1692814553,null],[1692814554,null],[1692814555,null],[1692814556,null],[1692814557,null],[1692814558,null],[1692814559,null],[1692814560,null],[1692814561,null],[1692814562,null],[1692814563,null],[1692814564,null],[1692814565,null],[1692814566,null],[1692814567,null],[1692814568,null],[1692814569,null],[1692814570,null],[1692814571,null],[1692814572,null],[1692814573,null],[1692814574,null],[1692814575,null],[1692814576,null],[1692814577,null],[1692814578,null],[1692814579,null],[1692814580,null],[1692814581,null],[1692814582,null],[1692814583,null],[1692814584,null],[1692814585,null],[1692814586,null],[1692814587,null],[1692814588,null],[1692814589,null],[1692814590,null],[1692814591,null],[1692814592,null],[1692814593,null],[1692814594,null],[1692814595,null],[1692814596,null],[1692814597,null],[1692814598,null],[1692814599,null],[1692814600,null],[1692814601,null],[1692814602,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692814398,[2,0,2]],[1692814399,[2,0,2]],[1692814400,[2,0,2]],[1692814401,[2,0,2]],[1692814402,[2,0,2]],[1692814403,[2,0,2]],[1692814404,[2,0,2]],[1692814405,[2,0,2]],[1692814406,[2,0,2]],[1692814407,[2,0,2]],[1692814408,[2,0,2]],[1692814409,[2,0,2]],[1692814410,[2,0,2]],[1692814411,[2,0,2]],[1692814412,[2,0,2]],[1692814413,[2,0,2]],[1692814414,[2,0,2]],[1692814415,[2,0,2]],[1692814416,[2,0,2]],[1692814417,[2,0,2]],[1692814418,[2,0,2]],[1692814419,[2,0,2]],[1692814420,[2,0,2]],[1692814421,[2,0,2]],[1692814422,[2,0,2]],[1692814423,[4,0,4]],[1692814424,[6,0,6]],[1692814425,[7,0,7]],[1692814426,[8,0,8]],[1692814427,[8,0,8]],[1692814428,[8,0,8]],[1692814429,[9,0,9]],[1692814430,[10,0,10]],[1692814431,[10,0,10]],[1692814432,[11,0,11]],[1692814433,[11,0,11]],[1692814434,[12,0,12]],[1692814435,[12,0,12]],[1692814436,[13,0,13]],[1692814437,[13,0,13]],[1692814438,[14,0,14]],[1692814439,[15,0,15]],[1692814440,[15,0,15]],[1692814441,[15,0,15]],[1692814442,[16,0,16]],[1692814443,[17,0,17]],[1692814444,[17,0,17]],[1692814445,[17,0,17]],[1692814446,[18,0,18]],[1692814447,[19,0,19]],[1692814448,[19,0,19]],[1692814449,[19,0,19]],[1692814450,[20,0,20]],[1692814451,[21,0,21]],[1692814452,[21,0,21]],[1692814453,[22,0,22]],[1692814454,[22,0,22]],[1692814455,[23,0,23]],[1692814456,[23,0,23]],[1692814457,[23,0,23]],[1692814458,[25,0,25]],[1692814459,[25,0,25]],[1692814460,[25,0,25]],[1692814461,[26,0,26]],[1692814462,[26,0,26]],[1692814463,[27,0,27]],[1692814464,[27,0,27]],[1692814465,[28,0,28]],[1692814466,[29,0,29]],[1692814467,[29,0,29]],[1692814468,[30,0,30]],[1692814469,[30,0,30]],[1692814470,[30,0,30]],[1692814471,[31,0,31]],[1692814472,[32,0,32]],[1692814473,[32,0,32]],[1692814474,[33,0,33]],[1692814475,[33,0,33]],[1692814476,[34,0,34]],[1692814477,[34,0,34]],[1692814478,[34,0,34]],[1692814479,[36,0,36]],[1692814480,[36,0,36]],[1692814481,[36,0,36]],[1692814482,[37,0,37]],[1692814483,[37,0,37]],[1692814484,[38,0,38]],[1692814485,[38,0,38]],[1692814486,[39,0,39]],[1692814487,[40,0,40]],[1692814488,[40,0,40]],[1692814489,[40,0,40]],[1692814490,[41,0,41]],[1692814491,[42,0,42]],[1692814492,[42,0,42]],[1692814493,[43,0,43]],[1692814494,[43,0,43]],[1692814495,[43,0,43]],[1692814496,[44,0,44]],[1692814497,[45,0,45]],[1692814498,[45,0,45]],[1692814499,[46,0,46]],[1692814500,[46,0,46]],[1692814501,[47,0,47]],[1692814502,[47,0,47]],[1692814503,[48,0,48]],[1692814504,[48,0,48]],[1692814505,[49,0,49]],[1692814506,[49,0,49]],[1692814507,[50,0,50]],[1692814508,[51,0,51]],[1692814509,[51,0,51]],[1692814510,[51,0,51]],[1692814511,[52,0,52]],[1692814512,[53,0,53]],[1692814513,[53,0,53]],[1692814514,[53,0,53]],[1692814515,[54,0,54]],[1692814516,[55,0,55]],[1692814517,[55,0,55]],[1692814518,[56,0,56]],[1692814519,[55,0,55]],[1692814520,[57,0,57]],[1692814521,[58,0,58]],[1692814522,[58,0,58]],[1692814523,[58,0,58]],[1692814524,[58,0,58]],[1692814525,[60,0,60]],[1692814526,[60,0,60]],[1692814527,[60,0,60]],[1692814528,[60,0,60]],[1692814529,[62,0,62]],[1692814530,[62,0,62]],[1692814531,[62,0,62]],[1692814532,[63,0,63]],[1692814533,[64,0,64]],[1692814534,[64,0,64]],[1692814535,[64,0,64]],[1692814536,[65,0,65]],[1692814537,[66,0,66]],[1692814538,[66,0,66]],[1692814539,[66,0,66]],[1692814540,[67,0,67]],[1692814541,[68,0,68]],[1692814542,[68,0,68]],[1692814543,[69,0,69]],[1692814544,[69,0,69]],[1692814545,[70,0,70]],[1692814546,[70,0,70]],[1692814547,[70,0,70]],[1692814548,[72,0,72]],[1692814549,[72,0,72]],[1692814550,[73,0,73]],[1692814551,[73,0,73]],[1692814552,[73,0,73]],[1692814553,[73,0,73]],[1692814554,[75,0,75]],[1692814555,[75,0,75]],[1692814556,[75,0,75]],[1692814557,[76,0,76]],[1692814558,[77,0,77]],[1692814559,[77,0,77]],[1692814560,[77,0,77]],[1692814561,[78,0,78]],[1692814562,[79,0,79]],[1692814563,[79,0,79]],[1692814564,[80,0,80]],[1692814565,[80,0,80]],[1692814566,[81,0,81]],[1692814567,[81,0,81]],[1692814568,[81,0,81]],[1692814569,[83,0,83]],[1692814570,[83,0,83]],[1692814571,[83,0,83]],[1692814572,[84,0,84]],[1692814573,[85,0,85]],[1692814574,[84,0,84]],[1692814575,[86,0,86]],[1692814576,[86,0,86]],[1692814577,[86,0,86]],[1692814578,[87,0,87]],[1692814579,[88,0,88]],[1692814580,[88,0,88]],[1692814581,[88,0,88]],[1692814582,[89,0,89]],[1692814583,[90,0,90]],[1692814584,[90,0,90]],[1692814585,[90,0,90]],[1692814586,[91,0,91]],[1692814587,[92,0,92]],[1692814588,[92,0,92]],[1692814589,[93,0,93]],[1692814590,[93,0,93]],[1692814591,[94,0,94]],[1692814592,[94,0,94]],[1692814593,[95,0,95]],[1692814594,[95,0,95]],[1692814595,[96,0,96]],[1692814596,[96,0,96]],[1692814597,[97,0,97]],[1692814598,[98,0,98]],[1692814599,[98,0,98]],[1692814600,[99,0,99]],[1692814601,[99,0,99]],[1692814602,[145,0,145]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692814398,[2,0,2]],[1692814399,[2,0,2]],[1692814400,[2,0,2]],[1692814401,[2,0,2]],[1692814402,[2,0,2]],[1692814403,[2,0,2]],[1692814404,[2,0,2]],[1692814405,[2,0,2]],[1692814406,[2,0,2]],[1692814407,[2,0,2]],[1692814408,[2,0,2]],[1692814409,[2,0,2]],[1692814410,[2,0,2]],[1692814411,[2,0,2]],[1692814412,[2,0,2]],[1692814413,[2,0,2]],[1692814414,[2,0,2]],[1692814415,[2,0,2]],[1692814416,[2,0,2]],[1692814417,[2,0,2]],[1692814418,[2,0,2]],[1692814419,[2,0,2]],[1692814420,[2,0,2]],[1692814421,[2,0,2]],[1692814422,[2,0,2]],[1692814423,[4,0,4]],[1692814424,[6,0,6]],[1692814425,[7,0,7]],[1692814426,[8,0,8]],[1692814427,[8,0,8]],[1692814428,[8,0,8]],[1692814429,[9,0,9]],[1692814430,[10,0,10]],[1692814431,[10,0,10]],[1692814432,[11,0,11]],[1692814433,[11,0,11]],[1692814434,[12,0,12]],[1692814435,[12,0,12]],[1692814436,[13,0,13]],[1692814437,[13,0,13]],[1692814438,[14,0,14]],[1692814439,[15,0,15]],[1692814440,[15,0,15]],[1692814441,[15,0,15]],[1692814442,[16,0,16]],[1692814443,[17,0,17]],[1692814444,[17,0,17]],[1692814445,[17,0,17]],[1692814446,[18,0,18]],[1692814447,[19,0,19]],[1692814448,[19,0,19]],[1692814449,[19,0,19]],[1692814450,[20,0,20]],[1692814451,[21,0,21]],[1692814452,[21,0,21]],[1692814453,[22,0,22]],[1692814454,[22,0,22]],[1692814455,[23,0,23]],[1692814456,[23,0,23]],[1692814457,[23,0,23]],[1692814458,[25,0,25]],[1692814459,[25,0,25]],[1692814460,[25,0,25]],[1692814461,[26,0,26]],[1692814462,[26,0,26]],[1692814463,[27,0,27]],[1692814464,[27,0,27]],[1692814465,[28,0,28]],[1692814466,[29,0,29]],[1692814467,[29,0,29]],[1692814468,[30,0,30]],[1692814469,[30,0,30]],[1692814470,[30,0,30]],[1692814471,[31,0,31]],[1692814472,[32,0,32]],[1692814473,[32,0,32]],[1692814474,[33,0,33]],[1692814475,[33,0,33]],[1692814476,[34,0,34]],[1692814477,[34,0,34]],[1692814478,[34,0,34]],[1692814479,[36,0,36]],[1692814480,[36,0,36]],[1692814481,[36,0,36]],[1692814482,[37,0,37]],[1692814483,[37,0,37]],[1692814484,[38,0,38]],[1692814485,[38,0,38]],[1692814486,[39,0,39]],[1692814487,[40,0,40]],[1692814488,[40,0,40]],[1692814489,[40,0,40]],[1692814490,[41,0,41]],[1692814491,[42,0,42]],[1692814492,[42,0,42]],[1692814493,[43,0,43]],[1692814494,[43,0,43]],[1692814495,[43,0,43]],[1692814496,[44,0,44]],[1692814497,[45,0,45]],[1692814498,[45,0,45]],[1692814499,[46,0,46]],[1692814500,[46,0,46]],[1692814501,[47,0,47]],[1692814502,[47,0,47]],[1692814503,[48,0,48]],[1692814504,[48,0,48]],[1692814505,[49,0,49]],[1692814506,[49,0,49]],[1692814507,[50,0,50]],[1692814508,[51,0,51]],[1692814509,[51,0,51]],[1692814510,[51,0,51]],[1692814511,[52,0,52]],[1692814512,[53,0,53]],[1692814513,[53,0,53]],[1692814514,[53,0,53]],[1692814515,[54,0,54]],[1692814516,[55,0,55]],[1692814517,[55,0,55]],[1692814518,[55,0,55]],[1692814519,[56,0,56]],[1692814520,[57,0,57]],[1692814521,[58,0,58]],[1692814522,[58,0,58]],[1692814523,[58,0,58]],[1692814524,[58,0,58]],[1692814525,[60,0,60]],[1692814526,[60,0,60]],[1692814527,[60,0,60]],[1692814528,[60,0,60]],[1692814529,[62,0,62]],[1692814530,[62,0,62]],[1692814531,[62,0,62]],[1692814532,[63,0,63]],[1692814533,[64,0,64]],[1692814534,[64,0,64]],[1692814535,[64,0,64]],[1692814536,[65,0,65]],[1692814537,[66,0,66]],[1692814538,[66,0,66]],[1692814539,[66,0,66]],[1692814540,[67,0,67]],[1692814541,[68,0,68]],[1692814542,[68,0,68]],[1692814543,[69,0,69]],[1692814544,[69,0,69]],[1692814545,[70,0,70]],[1692814546,[70,0,70]],[1692814547,[70,0,70]],[1692814548,[72,0,72]],[1692814549,[72,0,72]],[1692814550,[73,0,73]],[1692814551,[73,0,73]],[1692814552,[73,0,73]],[1692814553,[73,0,73]],[1692814554,[75,0,75]],[1692814555,[75,0,75]],[1692814556,[75,0,75]],[1692814557,[76,0,76]],[1692814558,[77,0,77]],[1692814559,[77,0,77]],[1692814560,[77,0,77]],[1692814561,[78,0,78]],[1692814562,[79,0,79]],[1692814563,[79,0,79]],[1692814564,[80,0,80]],[1692814565,[80,0,80]],[1692814566,[81,0,81]],[1692814567,[81,0,81]],[1692814568,[81,0,81]],[1692814569,[83,0,83]],[1692814570,[83,0,83]],[1692814571,[83,0,83]],[1692814572,[84,0,84]],[1692814573,[85,0,85]],[1692814574,[84,0,84]],[1692814575,[86,0,86]],[1692814576,[86,0,86]],[1692814577,[86,0,86]],[1692814578,[87,0,87]],[1692814579,[88,0,88]],[1692814580,[88,0,88]],[1692814581,[88,0,88]],[1692814582,[89,0,89]],[1692814583,[90,0,90]],[1692814584,[90,0,90]],[1692814585,[90,0,90]],[1692814586,[91,0,91]],[1692814587,[92,0,92]],[1692814588,[92,0,92]],[1692814589,[93,0,93]],[1692814590,[93,0,93]],[1692814591,[94,0,94]],[1692814592,[94,0,94]],[1692814593,[95,0,95]],[1692814594,[95,0,95]],[1692814595,[96,0,96]],[1692814596,[96,0,96]],[1692814597,[97,0,97]],[1692814598,[98,0,98]],[1692814599,[98,0,98]],[1692814600,[99,0,99]],[1692814601,[99,0,99]],[1692814602,[145,0,145]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 9590.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[6,7],[6,1],[6,1],[6,1],[6,1],[6,1],[6,0],[6,2],[6,1],[6,1],[6,0],[7,1],[7,1],[7,0],[7,1],[9,1],[9,1],[9,1],[9,0],[10,1],[10,1],[11,1],[11,1],[13,1],[13,1],[14,1],[21,1],[26,1],[30,1],[35,1],[37,1],[42,1],[47,1],[50,1],[55,1],[58,1],[62,1],[66,1],[70,1],[74,1],[79,1],[83,1],[86,1],[90,1],[94,1],[100,1],[102,1],[105,1],[110,1],[116,1],[119,1],[120,1],[127,1],[131,1],[135,1],[138,1],[142,1],[147,1],[150,1],[155,1],[158,1],[163,0],[166,1],[171,1],[175,1],[178,1],[182,1],[187,1],[191,0],[195,1],[199,1],[203,1],[206,1],[210,1],[215,1],[220,1],[222,1],[226,1],[231,1],[235,1],[239,1],[242,0],[247,1],[251,1],[255,1],[259,1],[262,0],[267,1],[270,1],[277,1],[278,1],[282,1],[287,0],[292,0],[295,0],[299,0],[303,0],[306,1],[311,1],[316,0],[318,0],[323,1],[327,1],[331,1],[335,0],[339,1],[343,1],[347,1],[350,1],[356,1],[360,0],[362,1],[368,1],[371,1],[376,1],[379,1],[383,1],[386,1],[391,1],[396,1],[400,0],[401,1],[408,1],[412,1],[416,1],[419,1],[422,1],[428,1],[431,1],[435,1],[439,0],[443,1],[448,0],[451,0],[455,1],[461,0],[463,0],[467,1],[472,1],[476,1],[479,1],[482,0],[487,1],[492,1],[496,1],[500,1],[503,0],[507,1],[512,1],[515,1],[520,1],[524,1],[528,1],[532,0],[535,1],[539,1],[543,1],[548,1],[551,1],[556,1],[560,1],[562,1],[569,1],[571,1],[577,1],[579,1],[584,1],[587,1],[592,1],[596,1],[600,1],[603,1],[608,1],[612,1],[615,1],[622,1],[622,0],[629,1],[631,0],[637,1],[639,1],[644,1],[648,1],[652,1],[656,1],[660,1],[664,0],[666,0],[673,1],[676,1],[680,1],[684,1],[688,1],[693,1],[695,1],[700,1],[704,1],[708,0],[711,1],[717,1],[720,1],[725,1],[729,1],[732,1],[1078,1]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
